package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"`
	Password string `gorm:"type:varchar(30)"`
}

type Users struct {
	gorm.Model
	UserImg string `gorm:"type:varchar(255)"`
	Name    string `gorm:"type:varchar(30)"`
	UserNc  string `gorm:"type:varchar(30)"`
	Age     string `gorm:"type:varchar(30)"`
	Bm      string `gorm:"type:varchar(30)"`
	Phone   string `gorm:"type:varchar(30)"`
}

type JueSe struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30)"`
	Content string `gorm:"type:varchar(30)"`
}
